home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ShareWare OnLine 2
/
ShareWare OnLine Volume 2 (CMS Software)(1993).iso
/
util1
/
incomand.zip
/
WIPEDIR.GBA
< prev
Wrap
Text File
|
1992-08-15
|
326b
|
18 lines
@ECHO OFF
IF %2!==! GOTO ok
ECHO No modifiers are allowed
GOTO END
:OK
rem don't put a "\" after %1 because it might be A:, and that would mean root
DI %1... -D/EXIST
IF errorlevel 1 GOTO NOFILES
idel %1...*.* /nol
:NOFILES
DI %1... +D/EXIST
IF errorlevel 1 GOTO NODIRS
ird %1...*.* /nol
:NODIRS
ird %1
:END